// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

#include "OracleAlterSynonymStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/OracleASTVisitor.h"

// @Override
void OracleAlterSynonymStatement::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleAlterSynonymStatement)))
  {
    acceptChild(visitor, name);
  }
  visitor->endVisit(SharedObject(OracleAlterSynonymStatement));
}

BOOL_ptr OracleAlterSynonymStatement::getEnable()
{
  return enable;
}

void OracleAlterSynonymStatement::setEnable(BOOL_ptr enable)
{
  this->enable = enable;
}

SQLName_ptr OracleAlterSynonymStatement::getName()
{
  return name;
}

void OracleAlterSynonymStatement::setName(SQLName_ptr name)
{
  this->name = name;
}

BOOL_ptr OracleAlterSynonymStatement::isCompile()
{
  return compile;
}

void OracleAlterSynonymStatement::setCompile(BOOL_ptr compile)
{
  this->compile = compile;
}
